package com.savard.data;

/**
 * User: csavard
 * Date: 13-03-17
 */
public class Game {
    private String visitingTeam;
    private int visitingTeamScore;
    private String homeTeam;
    private int homeTeamScore;

    public String getVisitingTeam() {
        return visitingTeam;
    }

    public void setVisitingTeam(String visitingTeam) {
        this.visitingTeam = visitingTeam;
    }

    public int getVisitingTeamScore() {
        return visitingTeamScore;
    }

    public void setVisitingTeamScore(int visitingTeamScore) {
        this.visitingTeamScore = visitingTeamScore;
    }

    public String getHomeTeam() {
        return homeTeam;
    }

    public void setHomeTeam(String homeTeam) {
        this.homeTeam = homeTeam;
    }

    public int getHomeTeamScore() {
        return homeTeamScore;
    }

    public void setHomeTeamScore(int homeTeamScore) {
        this.homeTeamScore = homeTeamScore;
    }

    @Override
    public String toString() {
        return getHomeTeam() + " " + getHomeTeamScore() + ", " + getVisitingTeam() + " " + getVisitingTeamScore();
    }
}
